<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>个人中心</title>

  <!-- Bootstrap -->
  <link href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet">
  <link href="__PUBLIC__/Home/css/screen.css" rel="stylesheet">

  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.PUBLC/Home/js/1.4.2/respond.min.js"></script>
  <![endif]-->
  <style>
    #header{
      height:200px; 
      background-image:url("__PUBLIC__/images/static/201611030515.jpg");
      }
      .clear{
        clear:both;
      }
  </style>
</head>
<body>
  <!-- 导航栏 -->
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
      <!-- Brand and toggle get grouped for better mobile display -->
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <span class="navbar-brand">xx的游艇</span>
      </div>

      <!-- Collect the nav links, forms, and other content for toggling -->
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
          <li class="active"><a href="{:U('/')}"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp首页</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp我的游记</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp我的活动</a></li>
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp好友动态</a></li>
        </ul>
        <form class="navbar-form navbar-right" role="search" style="margin-right:4%;">
          <div class="form-group">
            <input type="text" class="form-control" placeholder="Search">
          </div>
          <button type="submit" class="btn btn-default">搜索</button>
        </form>
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#"><span class="glyphicon glyphicon-hand-right"></span>&nbsp&nbsp关于我</a></li>
        </ul>
      </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
  </nav>
  <!-- 头部 -->
  <div style="margin-top:50px;">
  </div>
  <header class="page-header">
    <div id="header" class="jumbotron masthead">
      <h1>--------------->图片</h1>
    <!-- <img src="__PUBLIC__/images/static/201611030515.jpg" class="img-responsive" alt="Responsive image"> -->
    </div>
  </header>
    <!-- 主体 -->
  <div class="row" style="width:80%; margin:5px auto;">
    <!-- 左侧推荐文章 -->
    <div class="col-sm-8">
      <hr style="height:1px;background:#999;">
      <div style="width:100%;height:80px;border:2px solid black">
        <h2> | --><a href="{:U('/Admin/Priv/artadd')}">写游记</a> | --><a href="#">问问题</a> | --><a href="#">添加足迹</a> | --><a href="#">发布组队</a></h2>
      </div>
      <div style="width:100%;height:300px;margin-top:30px;border:2px solid black">
        <h2> | -->-->-->我的游记 | </h2>
      </div>
      <div style="width:100%;height:300px;margin-top:30px;border:2px solid black">
        <h2> | -->-->-->我的回答 | </h2>
      </div>
      <div style="width:100%;height:300px;margin-top:30px;border:2px solid black">
        <h2> | -->-->-->我的点评 | </h2>
      </div>
      <foreach name="arts" item="a">
        <div class="row">
          <figure>
            <div class="col-xs-6 col-md-4">
              <a href="#" class="thumbnail">
                <img data-src="holder.js/100%x180" alt="" style="height: 150px; width: 100%; display: block;" src="/{$a[img_path]}" data-holder-rendered="true">
              </a>
            </div>
          </figure>
          <div id="content" style="height:130px;overflow:hidden;text-overflow:ellipsis;">
          <h3 style="margin-top:0px;"><a href="{:U('/Home/Article/artshow',array('aid'=>$a['aid']))}">{$a[title]}</a></h3>
          <p class="blog-post-meta" style="color:gray;">日期：{$a[lastdate]|date="Y-m-d",###} | 作者：<a href="#">{$a[author]}</a></p>
          <p>
            {$a[content]}
          </p>
          </div>
          <p class="blog-post-meta" style="color:gray;">
            <a href="#">赞：</a>{$a[lover]} | 
            <a href="#"> 评论：</a>{$a[comnum]} | 
            <a href="#"> 阅读：</a>{$a[click]} | 
            <a href="#"> 举报</a> 
          </p>
          <p>
        </p>
      </div>
      <hr style="height:1px;background:#999;">
    </foreach>
    <nav>
      <ul class="pagination">
        <li class="disabled"><a href="#">上一页</a></li>
        <li class="active"><a href="#">1</a></li>
        <li><a href="#">2</a></li>
        <li><a href="#">3</a></li>
        <li><a href="#">4</a></li>
        <li><a href="#">5</a></li>
        <li><a href="#">下一页</a></li>
      </ul>
    </nav>
    </div>
    <!-- 右侧边栏 -->
    <div class="col-sm-3 col-sm-offset-1">
      <div class="sidebar-module">
        <div class="MAvatar" style="background:#ddd; float:right;margin-right: 20px">
          <div class="MAvaImg" style="margin-left:15px;">
              <img src="http://images.mafengwo.net/images/pp120.gif" height="120" width="120" alt="天行健" alt="上传头像"><a href="/setting/avatar/" class="MAvaUp" ><i class="Mphoto"></i></a>

              <p><a class="btn btn-primary btn-xs" role="button">上传头像</a>&nbsp;&nbsp;{$Think.cookie.username}</p>
          </div>
          <div class="MAvaInfo clearfix MAvaMyInfo">
              <span class="MAvaLevel flt1">等级：<a href="/rank/lv.php" title="Lv.1" target="_blank">Lv.1</a></span>|
              <span class="MAvaPlace flt1" title="眉山">现居：{$user}</span>|<span class="MAvaSet"><a title="设置" href="/setting/" target="_blank"></a></span>
          </div><p></p>
          <div class="MAvaMore clearfix" style="background-color: white;text-align: center" >
            <div class="MAvaNums" style="float:left;padding:0 11px;border:1px solid gray">
                <strong><a href="#" target="_blank">1</a></strong>
                <p>关注</p>
            </div>

            <div class="MAvaNums" style="float:left;padding:0 11px;border:1px solid gray">
                <strong><a href="#" target="_blank">0</a></strong>
                <p>粉丝</p>
            </div>

            <div class="MAvaNums last" style="float:left;padding:0 11px;border:1px solid gray">
                <strong><a href="#">0</a></strong>
                <p>蜂蜜</p>
            </div>
          </div>
        </div>
      </div>
                <div class="clear"></div>
      <div class="sidebar-module">
        <div style="width:100%;height:300px;border:2px solid black">
          <h2>我的特权</h2>
        </div>
        <div style="width:100%;height:300px;border:2px solid black">
          <h2>我的关注</h2>
        </div>
        <div style="width:100%;height:300px;border:2px solid black">
          <h2>我的小组</h2>
        </div>
        <div style="width:100%;height:300px;border:2px solid black">
          <h2>留言板</h2>
        </div>        
      </div>
    </div>
  </div>
  <footer></footer>
  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script src="__PUBLIC__/Home/js/jquery.js"></script>
  <!-- Include all compiled plugins (below), or include individual files as needed -->
  <script src="__PUBLIC__/Home/js/bootstrap.min.js"></script>
</body>
</html>